<template>
	<view class="find-activitydetail">
		<view class="find-activitydetail-scroll">
			<view class="find-activitydetail-scroll-banner">
				<image src="../../static/img/index/banner.png" mode=""></image>
			</view>
			<view class="find-activitydetail-scroll-info">
				<view class="find-activitydetail-scroll-info-header">
					交友唱歌+露营烧烤+篝火晚会+饮茶飞盘
				</view>
				<view class="find-activitydetail-scroll-info-list">
					<view class="find-activitydetail-scroll-info-list-item">
						<image src="../../static/img/find/activity/time.png" mode=""></image>
						<view class="">
							03/29 09:00 - 18:00
						</view>
					</view>
					<view class="find-activitydetail-scroll-info-list-item">
						<image src="../../static/img/find/activity/address.png" mode=""></image>
						<view class="">
							浙江省杭州市西湖区24号大街729号1
						</view>
					</view>
					<view class="find-activitydetail-scroll-info-list-item">
						<image src="../../static/img/find/activity/tags.png" mode=""></image>
						<view class="">
							音乐会友
						</view>
					</view>
					<view class="find-activitydetail-scroll-info-list-item">
						<image src="../../static/img/find/activity/price.png" mode=""></image>
						<view class="">
							￥100/人
						</view>
					</view>
				</view>
			</view>
			<view class="find-activitydetail-scroll-person">
				<view class="find-activitydetail-scroll-person-master">
					<view class="find-activitydetail-scroll-person-master-header">
						发起人
					</view>
					<view class="find-activitydetail-scroll-person-master-box">
						<view class="find-activitydetail-scroll-person-master-box-title u-flex">
							<view class="find-activitydetail-scroll-person-master-box-title-ava">
								<image src="../../static/img/demo.png" mode=""></image>
							</view>
							<view class="find-activitydetail-scroll-person-master-box-title-info">
								<view class=""
									style="font-size: 32rpx;font-family: PingFang SC-Medium, PingFang SC;font-weight: 500;color: #2E3033;">
									用户名
								</view>
								<view class="">
									杭州 设计师
								</view>
							</view>
						</view>
						<view class="find-activitydetail-scroll-person-master-box-main">
							<view class="find-activitydetail-scroll-person-master-box-main-item">
								<image src="../../static/img/find/activity/birth.png" mode=""></image>
								<view class="">
									年龄：26岁
								</view>
							</view>
							<view class="find-activitydetail-scroll-person-master-box-main-item">
								<image src="../../static/img/find/activity/edu.png" mode=""></image>
								<view class="">
									学历：本科
								</view>
							</view>
							<view class="find-activitydetail-scroll-person-master-box-main-item">
								<image src="../../static/img/find/activity/tall.png" mode=""></image>
								<view class="">
									身高：165cm
								</view>
							</view>
							<view class="find-activitydetail-scroll-person-master-box-main-item">
								<image src="../../static/img/find/activity/heavy.png" mode=""></image>
								<view class="">
									体重：65kg
								</view>
							</view>
						</view>
						<view class="find-activitydetail-scroll-person-master-content">
							世界美好又黑暗
						</view>
					</view>
				</view>
				<view class="find-activitydetail-scroll-person-join">
					<view class="find-activitydetail-scroll-person-join-header">
						已参加（17人）
					</view>
					<view class="find-activitydetail-scroll-person-join-box">
						<view class="find-activitydetail-scroll-person-join-box-tags u-flex">
							<view class="find-activitydetail-scroll-person-join-box-tags-tag">
								男生(8)
							</view>
							<view class="find-activitydetail-scroll-person-join-box-tags-tag">
								男生(18)
							</view>
							<view class="find-activitydetail-scroll-person-join-box-tags-tag">
								男生(8)
							</view>
						</view>
						<view class="find-activitydetail-scroll-person-join-box-avas">
							<image src="../../static/img/demo1.png" mode=""></image>
							<image src="../../static/img/demo1.png" mode=""></image>
							<image src="../../static/img/demo1.png" mode=""></image>
							<image src="../../static/img/demo1.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
			<view class="find-activitydetail-scroll-main">
				<view class="find-activitydetail-scroll-main-header">
					活动介绍
				</view>
				<view class="find-activitydetail-scroll-main-text">
					文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案
				</view>
				<view class="find-activitydetail-scroll-main-imgs">
					<image src="../../static/img/demo.png" mode=""></image>
				</view>
			</view>
		</view>
		<view class="find-activitydetail-footer u-flex">
			<view class="find-activitydetail-footer-left u-flex">
				<view class="find-activitydetail-footer-left-item">
					<image src="../../static/img/find/activity/share.png" mode=""></image>
					<view class="">
						分享
					</view>
				</view>
				<view class="find-activitydetail-footer-left-item">
					<image src="../../static/img/find/activity/chat.png" mode=""></image>
					<view class="">
						群聊
					</view>
				</view>
				<view class="find-activitydetail-footer-left-item">
					<image src="../../static/img/find/activity/collect.png" mode=""></image>
					<view class="">
						收藏
					</view>
				</view>
			</view>
			<view class="find-activitydetail-footer-right">
				<view class="public-btn public-btn-color">
					立即报名
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	//这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
	export default {
		// 组件名称
		name: 'demo',
		// 组件参数 接收来自父组件的数据
		props: {},
		// 局部注册的组件,import引入的组件需要注入到对象中才能使用
		components: {},
		// 组件状态值
		data() {
			return {}
		},
		// 计算属性
		computed: {},
		// 侦听器
		watch: {},
		// 组件方法
		methods: {},
		// 以下是生命周期钩子   注：没用到的钩子请自行删除
		/**
		 * 在实例初始化之后，组件属性计算之前，如data属性等
		 */
		beforeCreate() {},
		/**
		 * 组件实例创建完成，属性已绑定，但DOM还未生成，$ el属性还不存在
		 */
		created() {},
		/**
		 * 在挂载开始之前被调用：相关的 render 函数首次被调用。
		 */
		beforeMount() {},
		/**
		 * el 被新创建的 vm.$ el 替换，并挂载到实例上去之后调用该钩子。
		 * 如果 root 实例挂载了一个文档内元素，当 mounted 被调用时 vm.$ el 也在文档内。
		 */
		mounted() {},
		/**
		 * 数据更新时调用，发生在虚拟 DOM 重新渲染和打补丁之前。
		 * 你可以在这个钩子中进一步地更改状态，这不会触发附加的重渲染过程。
		 */
		beforeUpdate() {},
		/**
		 * 由于数据更改导致的虚拟 DOM 重新渲染和打补丁，在这之后会调用该钩子。
		 * 当这个钩子被调用时，组件 DOM 已经更新，所以你现在可以执行依赖于 DOM 的操作。
		 */
		updated() {},
		/**
		 * keep-alive 组件激活时调用。 仅针对keep-alive 组件有效
		 */
		activated() {},
		/**
		 * keep-alive 组件停用时调用。 仅针对keep-alive 组件有效
		 */
		deactivated() {},
		/**
		 * 实例销毁之前调用。在这一步，实例仍然完全可用。
		 */
		beforeDestroy() {},
		/**
		 * Vue 实例销毁后调用。调用后，Vue 实例指示的所有东西都会解绑定，
		 * 所有的事件监听器会被移除，所有的子实例也会被销毁。
		 */
		destroyed() {}
	}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<!--使用了scoped属性之后，父组件的style样式将不会渗透到子组件中，-->
<!--然而子组件的根节点元素会同时被设置了scoped的父css样式和设置了scoped的子css样式影响，-->
<style scoped lang="scss">
	.find-activitydetail {
		width: 100%;
		height: 100%;

		&-scroll {
			height: calc(100% - 164rpx);
			padding: 0 32rpx;
			overflow-y: scroll;

			&-banner {
				margin: 32rpx 0;
				height: 360rpx;

				image {
					border-radius: 16rpx;
					width: 100%;
					height: 100%;
				}
			}

			&-info {
				position: relative;

				&-header {
					font-size: 36rpx;
					font-family: PingFang SC-Bold, PingFang SC;
					font-weight: bold;
					color: #2E3033;
				}

				&-list {
					&-item {
						margin-top: 32rpx;
						display: flex;

						image {
							width: 32rpx;
							height: 32rpx;
							margin-right: 16rpx;
						}

						font-size: 24rpx;
						font-family: PingFang SC-Medium,
						PingFang SC;
						color: #5C6166;
					}
				}
			}

			&-person {
				&-master {

					&-header {
						margin: 32rpx 0;
						font-size: 28rpx;
						font-family: PingFang SC-Medium, PingFang SC;
						font-weight: 500;
						color: #2E3033;
					}

					&-box {
						padding: 32rpx;
						background: #F8F9FE;
						border-radius: 20rpx;

						&-title {
							margin-bottom: 40rpx;

							&-ava {
								margin-right: 20rpx;

								image {
									width: 96rpx;
									height: 96rpx;
									border-radius: 50%;
								}
							}

							&-info {
								font-size: 24rpx;
								font-family: PingFang SC-Medium, PingFang SC;
								color: #5C6166;
							}
						}

						&-main {

							display: flex;
							flex-wrap: wrap;

							&-item {
								margin-bottom: 32rpx;
								display: flex;
								width: 45%;
								font-size: 24rpx;
								font-family: PingFang SC-Medium, PingFang SC;
								color: #5C5F66;

								image {
									margin-right: 12rpx;
									height: 32rpx;
									width: 32rpx;
								}
							}
						}
					}
				}

				&-join {
					&-header {
						margin: 32rpx 0;
						font-size: 28rpx;
						font-family: PingFang SC-Medium, PingFang SC;
						font-weight: 500;
						color: #2E3033;
					}

					&-box {
						padding: 32rpx;
						background: #F8F9FE;
						border-radius: 20rpx;

						&-tags {
							&-tag {
								margin-right: 12rpx;
								padding: 0 16rpx;
								height: 48rpx;
								line-height: 48rpx;
								background: #E8E6FF;
								border-radius: 24rpx;
								font-size: 24rpx;
								font-family: PingFang SC-Medium, PingFang SC;
								color: #7266FF;
							}
						}

						&-avas {
							margin-top: 32rpx;

							image {
								border-radius: 50%;
								width: 48rpx;
								height: 48rpx;
								border: 2rpx solid #FFFFFF;
								position: relative;
								left: 20rpx;
								margin-left: -20rpx;
							}
						}
					}
				}
			}

			&-main {
				&-header {
					font-size: 28rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #2E3033;
					margin: 32rpx 0;
				}

				&-text {
					font-size: 28rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					color: #2E3033;
				}

				&-imgs {
					width: 686rpx;

					image {
						width: 100%;
						border-radius: 16rpx;
					}
				}
			}
		}

		&-footer {
			height: 96rpx;
			margin-bottom: 68rpx;
			width: 100%;
			border-top: solid 1rpx #dadbdfff;

			&-left {
				flex: 1;
				justify-content: center;
				padding-left: 32rpx;

				&-item {
					flex: 1;
					font-size: 24rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #2E3033;

					image {
						width: 40rpx;
						height: 40rpx;
					}
				}
			}

			&-right {
				width: 400rpx;
				margin: 0 32rpx;

				.public-btn {
					width: 400rpx;
				}
			}
		}
	}
</style>
